This folder contains the Known Answer tests, and a procedure to compare them.

To generate KAT File for reference code:
- import code: "make import_ref"
- build files: "make test_ref"
- check files: "make check_ref"

To generate KAT File for optimized code:
- import code: "make import_opt"
- build files: "make test_opt"
- check files: "make check_opt"

"make check_ref" or "make check_opt" will compare the outputs generated
No message should appear aside from the calls to the diff command.

--------------------------------------------------------------------------------------

All-in-one commands, for ref and opt:
- "make KAT_ref"
- "make KAT_opt"

--------------------------------------------------------------------------------------

To clean:
- code: "make clean"
- previous kat files: "make distclean"